package com.oedtech.esl.model.SNModel;

import com.oedtech.esl.model.esl.EslFirmware;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @Author QiuLongYu
 * @Date 2019/7/30
 */
public class SNEslFirmware {

    private	String	id		;	//	固件类型id
    private	String	name		;	//	固件名字
    private	String	description		;	//	描述
    private	String	magnet		;	//	是否带有磁铁
    private	String	led		;	//	是否带有LED灯
    private	String	mpd		;	//	是否支持多页
    private	String	generation		;	//	几代价签
    private	String	heartbeat		;	//	是否支持上报心跳
    private	String	direction		;	//	屏幕方向
    private	String	freezer		;	//	是否是冷冻价签
    private	String	dpi		;	//	分辨率
    private	String	ic		;	//	屏幕内部芯片
    private	String	display_mode		;	//	显示模式
    private	String	screen_type		;	//	屏幕类型
    private	String	resolution_x		;	//	价签屏幕横坐标像素大小
    private	String	resolution_y		;	//	价签屏幕纵坐标像素大小
    private	String	screen_color		;	//	屏幕支持的颜色
    private	String	screen_size		;	//	屏幕尺寸
    private	String	refresh_time		;	//	屏幕最大刷新时间
    private	String	flash_size		;	//	价签flash大小
    private	String	max_package		;	//	最大包数
    private	String	osd_version		;	//	渲染引擎版本号
    private	String	max_page_num		;	//	支持的最大页数
    private	String	esl_model		;	//	价签型号
    private	String	mix_mode		;	//	是否支持混杂模式通信
    private	String	screen_model		;	//	价签通信协议

    public SNEslFirmware() {
    }

    public SNEslFirmware(EslFirmware eslFirmware,String vendorId) {
        this.id = vendorId+eslFirmware.getId();
        this.name = eslFirmware.getName();
        this.description = eslFirmware.getDescription();
        this.magnet = eslFirmware.getMagnet();
        this.led = eslFirmware.getLed();
        this.mpd = eslFirmware.getMpd();
        this.generation = eslFirmware.getGeneration();
        this.heartbeat = eslFirmware.getHeartbeat();
        this.direction = eslFirmware.getDirection();
        this.freezer = eslFirmware.getFreezer();
        this.dpi = eslFirmware.getDpi();
        this.ic = eslFirmware.getIc();
        this.display_mode = eslFirmware.getDisplay_mode();
        this.screen_type = eslFirmware.getScreen_type();
        this.resolution_x = eslFirmware.getResolution_x()+"";
        this.resolution_y = eslFirmware.getResolution_y()+"";
        this.screen_color = eslFirmware.getScreen_color();
        this.screen_size = eslFirmware.getScreen_size()+"";
        this.refresh_time = eslFirmware.getRefresh_time();
        this.flash_size = eslFirmware.getFlash_size();
        this.max_package = eslFirmware.getMax_package();
        this.osd_version = eslFirmware.getOsd_version();
        this.max_page_num = eslFirmware.getMax_page_num()+"";
        this.esl_model = eslFirmware.getEsl_model();
        this.mix_mode = eslFirmware.getMix_mode();
        this.screen_model = eslFirmware.getScreen_model();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMagnet() {
        return magnet;
    }

    public void setMagnet(String magnet) {
        this.magnet = magnet;
    }

    public String getLed() {
        return led;
    }

    public void setLed(String led) {
        this.led = led;
    }

    public String getMpd() {
        return mpd;
    }

    public void setMpd(String mpd) {
        this.mpd = mpd;
    }

    public String getGeneration() {
        return generation;
    }

    public void setGeneration(String generation) {
        this.generation = generation;
    }

    public String getHeartbeat() {
        return heartbeat;
    }

    public void setHeartbeat(String heartbeat) {
        this.heartbeat = heartbeat;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getFreezer() {
        return freezer;
    }

    public void setFreezer(String freezer) {
        this.freezer = freezer;
    }

    public String getDpi() {
        return dpi;
    }

    public void setDpi(String dpi) {
        this.dpi = dpi;
    }

    public String getIc() {
        return ic;
    }

    public void setIc(String ic) {
        this.ic = ic;
    }

    public String getDisplay_mode() {
        return display_mode;
    }

    public void setDisplay_mode(String display_mode) {
        this.display_mode = display_mode;
    }

    public String getScreen_type() {
        return screen_type;
    }

    public void setScreen_type(String screen_type) {
        this.screen_type = screen_type;
    }

    public String getResolution_x() {
        return resolution_x;
    }

    public void setResolution_x(String resolution_x) {
        this.resolution_x = resolution_x;
    }

    public String getResolution_y() {
        return resolution_y;
    }

    public void setResolution_y(String resolution_y) {
        this.resolution_y = resolution_y;
    }

    public String getScreen_color() {
        return screen_color;
    }

    public void setScreen_color(String screen_color) {
        this.screen_color = screen_color;
    }

    public String getScreen_size() {
        return screen_size;
    }

    public void setScreen_size(String screen_size) {
        this.screen_size = screen_size;
    }

    public String getRefresh_time() {
        return refresh_time;
    }

    public void setRefresh_time(String refresh_time) {
        this.refresh_time = refresh_time;
    }

    public String getFlash_size() {
        return flash_size;
    }

    public void setFlash_size(String flash_size) {
        this.flash_size = flash_size;
    }

    public String getMax_package() {
        return max_package;
    }

    public void setMax_package(String max_package) {
        this.max_package = max_package;
    }

    public String getOsd_version() {
        return osd_version;
    }

    public void setOsd_version(String osd_version) {
        this.osd_version = osd_version;
    }

    public String getMax_page_num() {
        return max_page_num;
    }

    public void setMax_page_num(String max_page_num) {
        this.max_page_num = max_page_num;
    }

    public String getEsl_model() {
        return esl_model;
    }

    public void setEsl_model(String esl_model) {
        this.esl_model = esl_model;
    }

    public String getMix_mode() {
        return mix_mode;
    }

    public void setMix_mode(String mix_mode) {
        this.mix_mode = mix_mode;
    }

    public String getScreen_model() {
        return screen_model;
    }

    public void setScreen_model(String screen_model) {
        this.screen_model = screen_model;
    }
}
